package chapter10.eg11;

import java.util.List;

public class Customer {
  private long customerNumber;
  private String firstName;
  private String lastName;
  private List<String> middleName;

  public long getCustomerNumber() {
    return customerNumber;
  }

  public void setCustomerNumber(long customerNumber) {
    this.customerNumber = customerNumber;
  }

  public String getFirstName() {
    return firstName;
  }

  public void setFirstName(String firstName) {
    this.firstName = firstName;
  }

  public String getLastName() {
    return lastName;
  }

  public void setLastName(String lastName) {
    this.lastName = lastName;
  }

  public List<String> getMiddleName() {
    return middleName;
  }

  public void setMiddleName(List<String> middleName) {
    this.middleName = middleName;
  }

  @Override
  public String toString() {
    return "Customer{" +
      "customerNumber=" + customerNumber +
      ", firstName='" + firstName + '\'' +
      ", lastName='" + lastName + '\'' +
      ", middleName=" + middleName +
      '}';
  }
}
